import request from '@/utils/request'

// 查询首页看板基础信息
export function getBasicInfo() {
    return request({
      url: '/system/tyStatistics/basicInfo',
      method: 'get'
    })
}

// 获取Echars统计数据
export function getEchartsList(query) {
    return request({
      url: '/system/tyStatistics/getEcharsCountStatistics',
      method: 'get',
      params: query
    })
}

// 获取合伙人入驻详细信息
export function getPartnersInfo() {
    return request({
      url: '/system/tyStatistics/getPartnersInfo',
      method: 'get'
    })
}

// 获取商家入驻详细信息
export function getShopInfo() {
    return request({
      url: '/system/tyStatistics/getShopInfo',
      method: 'get'
    })
}